from graph import *
windowSize(500,500)
x= int(input())
y=int(input())
m=int(input())
brushColor('LightSeaGreen')
penColor('LightSeaGreen')
if x < 0 or y < 0 or x+m*100 > 500 or m*150+y > 500:
    print('размер фигуры превышает максимальный размер')
else:
    polygon([(x, y),(x+m*50,y),(x+m*50, m*50 + y),(m*100 + x, m*50+y),(m*100+x,m*150+y),(m*50+x,m*150+y),(m*50+x,m*100+y),(x,m*100+y),(x,y)])
#polygon([(0,0),(50,0),(50,50),(100,50),(100,150),(50,150),(50,100),(0,100),(0,0)])
run()
